package com.example.demo.util;

import com.example.demo.compent.MyLocaleResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.LocaleResolver;

@Configuration
public class loginBeanConfig {
    @Bean
    public LocaleResolver localeResolver(){
        return new MyLocaleResolver() ;
    }
}
